﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Evolution
{
    class Program
    {
        static void Main(string[] args)
        {
            ConsoleEngine Base = new ConsoleEngine(30);
            Base.Setting();
            char ch;
            do
            { 
                ch = Console.ReadKey().KeyChar;
                if (ch == 32)
                {
                    Base.GetNewMatrix();
                    Console.WriteLine("\nNew matrix:");
                    Base.PrintMatrix();
                }
            }
            while (ch!=27);
            }
    }
}
